package com.yy.jhl.ui.manager.contract;

import com.yy.common.base.BasePresenter;
import com.yy.common.base.BaseView;
import com.yy.jhl.bean.InviteBatchInfo;
import com.yy.jhl.bean.InvitePackageInfo;
import com.yy.jhl.bean.ProjectInfo;

/**
 * Created by Ellis.Li on 2017/5/8.
 */
public interface MainWithCodeContract {
    interface View extends BaseView {
        void getBatchCodeSuccess(InviteBatchInfo inviteBatchInfo);
        void getBatchCodeFail();
        void getPackageInfoSuccess(InvitePackageInfo invitePackageInfo);
        void getPackageInfoFail();
    }
    abstract static class Presenter extends BasePresenter<View> {
        public abstract void getBatchCode();
        public abstract void getPackageInfo(String id);
    }
}
